function fcs(element_id) {
  var element = document.getElementById(element_id);
  element.defaultValue = '';
  element.value = '';
  element.focus();
}
function clr(element_id) {
  var element = document.getElementById(element_id);
  element.defaultValue = '';
  element.value = '';
}

function toggle(element_id) {
  var element = document.getElementById(element_id);
  if (element !== null) {
    if (element.style.display == "none") element.style.display = "block";
    else element.style.display = "none";
  }
}

function show_inline(element_id) {
  var element = document.getElementById(element_id);
  if (element !== null) element.style.display = "inline";
}

function hide(element_id) {
  var element = document.getElementById(element_id);
  if (element !== null) element.style.display = "none";
}

function submit(form_id) {
  document.getElementById(form_id).submit();
}